//
//  EditorTableViewCell.m
//  Article
//
//  Created by LONG on 16/4/21.
//  Copyright © 2016年 mac. All rights reserved.
//

#import "EditorTableViewCell.h"

@implementation EditorTableViewCell


-(void)configModel:(Model *)model{
    [self.writing_img sd_setImageWithURL:[NSURL URLWithString:model.writing_img] placeholderImage:[UIImage imageNamed:@"moren"]];

    self.writing_title.text = model.writing_title;
    if (model.writing_use == NULL) {
        self.numer.text = @"0";
    }else{
        self.numer.text = model.writing_use;
    }
}
- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
